Smush\Core\Stats D

Total Complexity 180
Dependencies 14
Dependents 1
Total lines 1,181
Lines of code 665
Logical lines of code 352
Comment lines 339
Methods 33
Properties 9

Methods 33

Method Rating Maintainability Complexity Lines of code
global_stats()
D
31 34 97
get_savings()
B
37 21 74
get_stats_for_attachments()
B
43 21 45
combine_conversion_stats()
A
53 10 21
run_query()
A
46 9 36
combined_stats()
A
53 10 20
fetch_backup_global_stats()
A
40 7 59
get_grade_data()
A
51 9 27
total_compression()
A
57 9 15
setup_global_stats()
A
50 8 27
add_to_media_attachments_list()
S
61 5 12
get_global_stats()
S
45 3 41
get_media_attachments()
S
54 3 22
skipped_count()
S
58 3 15
remove_from_media_attachments_list()
S
62 3 11
add_to_smushed_list()
S
63 3 10
remove_from_smushed_list()
S
63 3 10
get_skipped_count()
S
54 1 23
__construct()
S
57 1 19
get_backup_global_stats()
S
67 2 8
get_resmush_ids()
S
71 2 6
remaining_count()
S
69 2 6
get_unsmushed_meta_query()
S
61 1 14
get_smushed_attachments()
S
63 1 11
remove_stats()
S
73 1 5
get_unsmushed_attachments()
S
80 1 3
get_super_smushed_attachments()
S
67 1 9
get_query_limit()
S
82 1 3
set_query_limit()
S
77 1 4
get_max_rows()
S
82 1 3
set_max_rows()
S
77 1 4
update_lists()
S
77 1 4
init()
S
98 1 1